		<!-- basic scripts -->
		<link rel="stylesheet" href="$!webPath/assets/css/jquery-ui.min.css" />
		<!--[if !IE]> -->
		<script src="$!webPath/assets/js/jquery-2.1.4.min.js"></script>
		<!-- <![endif]-->

		<!--[if IE]>
		<script src="$!webPath/assets/js/jquery-1.11.3.min.js"></script>
		<![endif]-->
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script src='$!webPath/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="$!webPath/assets/js/bootstrap.min.js"></script>
		<script src="$!webPath/assets/js/jquery-ui.min.js"></script>
		<script src="$!webPath/assets/js/jquery.ui.touch-punch.min.js"></script>
		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="$!webPath/assets/js/excanvas.min.js"></script>
		<![endif]-->
		<script src="$!webPath/assets/js/jquery-ui.custom.min.js"></script>
		<script src="$!webPath/assets/js/jquery.ui.touch-punch.min.js"></script>
		<script src="$!webPath/assets/js/jquery.easypiechart.min.js"></script>
		<script src="$!webPath/assets/js/jquery.sparkline.index.min.js"></script>
		<script src="$!webPath/assets/js/jquery.flot.min.js"></script>
		<script src="$!webPath/assets/js/jquery.flot.pie.min.js"></script>
		<script src="$!webPath/assets/js/jquery.flot.resize.min.js"></script>

		<!--
		<script src="$!webPath/assets/js/jquery.jqGrid.min.js"></script>
		<script src="$!webPath/assets/js/grid.locale-en.js"></script>
		-->
		
		<script src="$!webPath/assets/js/jqgrid/js/jquery.jqGrid.js"></script>
		<script src="$!webPath/assets/js/jqgrid/js/i18n/grid.locale-cn.js"></script>
		
		
		
		<!-- ace scripts -->
		<script src="$!webPath/assets/js/ace-elements.min.js"></script>
		<script src="$!webPath/assets/js/ace.min.js"></script>

		<!-- inline scripts related to this page -->
		<script src="$!webPath/js/common/jquery.form.js"></script>
		<script src="$!webPath/assets/js/jquery.validate.min.js"></script>
		
		
		<!-- jqGrid分页函数 -->
		<script type="text/javascript">
				//it causes some flicker when reloading or navigating grid
				//it may be possible to have some custom formatter to do this as the grid is being created to prevent this
				//or go back to default browser checkbox styles for the grid
				function styleCheckbox(table) {
				/**
					$(table).find('input:checkbox').addClass('ace')
					.wrap('<label />')
					.after('<span class="lbl align-top" />')
			
			
					$('.ui-jqgrid-labels th[id*="_cb"]:first-child')
					.find('input.cbox[type=checkbox]').addClass('ace')
					.wrap('<label />').after('<span class="lbl align-top" />');
				*/
				}
				
			
				//unlike navButtons icons, action icons in rows seem to be hard-coded
				//you can change them like this in here if you want
				function updateActionIcons(table) {
					/**
					var replacement = 
					{
						'ui-ace-icon fa fa-pencil' : 'ace-icon fa fa-pencil blue',
						'ui-ace-icon fa fa-trash-o' : 'ace-icon fa fa-trash-o red',
						'ui-icon-disk' : 'ace-icon fa fa-check green',
						'ui-icon-cancel' : 'ace-icon fa fa-times red'
					};
					$(table).find('.ui-pg-div span.ui-icon').each(function(){
						var icon = $(this);
						var $class = $.trim(icon.attr('class').replace('ui-icon', ''));
						if($class in replacement) icon.attr('class', 'ui-icon '+replacement[$class]);
					})
					*/
				}
				
				//replace icons with FontAwesome icons like above
				function updatePagerIcons(table) {
					var replacement = 
					{
						'ui-icon-seek-first' : 'ace-icon fa fa-angle-double-left bigger-140',
						'ui-icon-seek-prev' : 'ace-icon fa fa-angle-left bigger-140',
						'ui-icon-seek-next' : 'ace-icon fa fa-angle-right bigger-140',
						'ui-icon-seek-end' : 'ace-icon fa fa-angle-double-right bigger-140'
					};
					$('.ui-pg-table:not(.navtable) > tbody > tr > .ui-pg-button > .ui-icon').each(function(){
						var icon = $(this);
						var $class = $.trim(icon.attr('class').replace('ui-icon', ''));
						
						if($class in replacement) icon.attr('class', 'ui-icon '+replacement[$class]);
					})
				}
			
				function enableTooltips(table) {
					$('.navtable .ui-pg-button').tooltip({container:'body'});
					$(table).find('.ui-pg-div').tooltip({container:'body'});
				}

//				左侧自动高度
			$(function(){
                var BodyHeight=document.documentElement.clientHeight;
                BodyHeight -= 120;
                $(".fp-framework.nav.nav-list.townUl").css({
                    "min-height" : BodyHeight
                });
                $("#contentFrame").css({
                    "min-height" : BodyHeight -10
                });
			})
		</script>
		<script src="$!webPath/base/base.js"></script>
		<script src="$!webPath/assets/js/bootbox.js"></script>
		<script src="$!webPath/js/common/bootboxUtils.js"></script>
		